package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhuiZhu
 * @since 2023-05-15
 */
@TableName("r_record")
@ApiModel(value = "Record对象", description = "")
public class Record implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("记录编号")
    private Long id;

    @ApiModelProperty("用户总人数")
    private Long commonNum;

    @ApiModelProperty("总访问人数")
    private Long allUsers;

    @ApiModelProperty("今日访客人数")
    private Long visitor;

    @ApiModelProperty("接口总调用次数")
    private Long allCalls;

    @ApiModelProperty("总数据量")
    private Long allDatas;

    @ApiModelProperty("病虫害信息接口调用次数")
    private Long diseaseCalls;

    @ApiModelProperty("产量数据接口调用次数")
    private Long lossCalls;

    @ApiModelProperty("损失数据接口调用次数")
    private Long produceCalls;

    @ApiModelProperty("作物新闻接口调用次数")
    private Long newsCalls;

    @ApiModelProperty("价格数据接口调用次数")
    private Long priceCalls;

    @ApiModelProperty("病虫害信息数据量")
    private Long diseaseNum;

    @ApiModelProperty("损失数据数据量")
    private Long lossNum;

    @ApiModelProperty("作物产量数据量")
    private Long produceNum;

    @ApiModelProperty("作物新闻数据量")
    private Long newsNum;

    @ApiModelProperty("价格数据数据量")
    private Long priceNum;

    @ApiModelProperty("开放接口数量")
    private Long apiNum;

    @ApiModelProperty("日期")
    private LocalDate time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCommonNum() {
        return commonNum;
    }

    public void setCommonNum(Long commonNum) {
        this.commonNum = commonNum;
    }

    public Long getAllUsers() {
        return allUsers;
    }

    public void setAllUsers(Long allUsers) {
        this.allUsers = allUsers;
    }

    public Long getVisitor() {
        return visitor;
    }

    public void setVisitor(Long visitor) {
        this.visitor = visitor;
    }

    public Long getAllCalls() {
        return allCalls;
    }

    public void setAllCalls(Long allCalls) {
        this.allCalls = allCalls;
    }

    public Long getAllDatas() {
        return allDatas;
    }

    public void setAllDatas(Long allDatas) {
        this.allDatas = allDatas;
    }

    public Long getDiseaseCalls() {
        return diseaseCalls;
    }

    public void setDiseaseCalls(Long diseaseCalls) {
        this.diseaseCalls = diseaseCalls;
    }

    public Long getLossCalls() {
        return lossCalls;
    }

    public void setLossCalls(Long lossCalls) {
        this.lossCalls = lossCalls;
    }

    public Long getProduceCalls() {
        return produceCalls;
    }

    public void setProduceCalls(Long produceCalls) {
        this.produceCalls = produceCalls;
    }

    public Long getNewsCalls() {
        return newsCalls;
    }

    public void setNewsCalls(Long newsCalls) {
        this.newsCalls = newsCalls;
    }

    public Long getPriceCalls() {
        return priceCalls;
    }

    public void setPriceCalls(Long priceCalls) {
        this.priceCalls = priceCalls;
    }

    public Long getDiseaseNum() {
        return diseaseNum;
    }

    public void setDiseaseNum(Long diseaseNum) {
        this.diseaseNum = diseaseNum;
    }

    public Long getLossNum() {
        return lossNum;
    }

    public void setLossNum(Long lossNum) {
        this.lossNum = lossNum;
    }

    public Long getProduceNum() {
        return produceNum;
    }

    public void setProduceNum(Long produceNum) {
        this.produceNum = produceNum;
    }

    public Long getNewsNum() {
        return newsNum;
    }

    public void setNewsNum(Long newsNum) {
        this.newsNum = newsNum;
    }

    public Long getPriceNum() {
        return priceNum;
    }

    public void setPriceNum(Long priceNum) {
        this.priceNum = priceNum;
    }

    public Long getApiNum() {
        return apiNum;
    }

    public void setApiNum(Long apiNum) {
        this.apiNum = apiNum;
    }

    public LocalDate getTime() {
        return time;
    }

    public void setTime(LocalDate time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Record{" +
            "id = " + id +
            ", commonNum = " + commonNum +
            ", allUsers = " + allUsers +
            ", visitor = " + visitor +
            ", allCalls = " + allCalls +
            ", allDatas = " + allDatas +
            ", diseaseCalls = " + diseaseCalls +
            ", lossCalls = " + lossCalls +
            ", produceCalls = " + produceCalls +
            ", newsCalls = " + newsCalls +
            ", priceCalls = " + priceCalls +
            ", diseaseNum = " + diseaseNum +
            ", lossNum = " + lossNum +
            ", produceNum = " + produceNum +
            ", newsNum = " + newsNum +
            ", priceNum = " + priceNum +
            ", apiNum = " + apiNum +
            ", time = " + time +
        "}";
    }
}
